﻿<UserControl xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"  
    xmlns:chartingToolkit="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"  
    xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"  
    xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"  
    xmlns:system="clr-namespace:System;assembly=mscorlib" 
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 
    x:Class="SpeedTestReports.MainPage"
    xmlns:layoutToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit" 
    xmlns:STControls="clr-namespace:SpeedTestReports;assembly=SpeedTestReports" 
    xmlns:generic="clr-namespace:SpeedTestReports;assembly=SpeedTestReports" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" x:Name="MainForm" SizeChanged="MainForm_SizeChanged">
  <Grid x:Name="LayoutRoot" Background="#FFFFFF" ShowGridLines="False" Loaded="LayoutRoot_Loaded">
        <Grid.RowDefinitions>
            <RowDefinition Height="100"/>
            <RowDefinition x:Name="contentRow" Height="100*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="15*" MinWidth="230"/>
            <ColumnDefinition x:Name="contentColumn"  Width="100*"/>
        </Grid.ColumnDefinitions>
        <Canvas x:Name="canvasBanner" Background="#EAF4F8" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2"></Canvas>
        <Image x:Name="imgBanner" Stretch="None" HorizontalAlignment="Left" Source="/Images/banner2.png" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2"/>
        <controls:GridSplitter Grid.Row="1" Grid.Column="0" Grid.RowSpan="2" VerticalAlignment="Stretch"/>
        <StackPanel x:Name="ReportMenu" Grid.Row="1" Grid.Column="0">
            <RadioButton x:Name="btnDashboard" Margin ="5,0,10,0" Click ="btnDashboard_Click" Height ="25" GroupName="MainMenu" Content="Dashboard" Style="{StaticResource ToggleButtonFlatStyle}"></RadioButton>
            <RadioButton x:Name="btnLogOut" Margin ="5,0,10,0" Click="btnLogOut_Click" Height ="25" GroupName="MainMenu" Content="Log Out"  Style="{StaticResource ToggleButtonFlatStyle}"></RadioButton>
            <Canvas Height="20"/>
            <TextBlock Text ="Reports" FontWeight="Bold" Margin="5"/>
            <StackPanel x:Name="ReportList">
            </StackPanel>
        </StackPanel>
        <StackPanel x:Name="pnlContent" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center">
        </StackPanel>
        <ScrollViewer x:Name="reportViewer" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" Visibility="Visible" VerticalScrollBarVisibility="Auto"  HorizontalScrollBarVisibility="Auto" BorderThickness="0" Height="100" Width="100">
        </ScrollViewer>
    </Grid>
</UserControl>
